// ByteStreamHandler.h
#ifndef BYTE_STREAM_HANDLER_H
#define BYTE_STREAM_HANDLER_H

#include <vector>
#include <memory>
#include <string>
#include <fstream>
#include <filesystem>


class ByteStreamHandler {
public:
    static bool writeBytes(const std::string& filename, const std::vector<char>& data);
    static bool writeBytes(const std::string& filename, std::string str);
    static std::unique_ptr<std::vector<char>> readBytes(const std::string& filename);
};

#endif // BYTE_STREAM_HANDLER_H
